WooCommerce\Square\Framework\Plugin A

Total Complexity 74
Dependencies 9
Dependents 8
Total lines 808
Lines of code 238
Logical lines of code 124
Comment lines 371
Methods 44
Properties 13

Methods 44

Method Rating Maintainability Complexity Lines of code
add_system_status_php_information()
S
53 7 23
get_api_log_message()
S
63 7 8
plugin_action_links()
S
57 5 16
is_plugin_active()
S
57 4 16
log()
S
65 3 9
load_textdomain()
S
67 3 6
includes()
S
57 1 18
get_plugin_url()
S
71 2 6
get_plugin_path()
S
71 2 6
get_reviews_url()
S
78 2 3
get_settings_link()
S
68 2 7
log_api_request()
S
69 2 6
add_api_request_logging()
S
72 2 5
__construct()
S
59 1 15
load_translations()
S
73 2 6
is_plugin_settings()
S
82 1 3
get_version()
S
82 1 3
get_framework_assets_url()
S
79 1 3
get_framework_path()
S
79 1 3
get_framework_file()
S
82 1 3
init_admin_message_handler()
S
80 1 3
init_admin_notice_handler()
S
80 1 3
init_lifecycle_handler()
S
80 1 3
get_sales_page_url()
S
82 1 3
get_support_url()
S
82 1 3
get_documentation_url()
S
82 1 3
get_general_configuration_url()
S
80 1 3
get_settings_url()
S
82 1 3
add_hooks()
S
64 1 9
get_plugin_version_name()
S
82 1 3
load_plugin_textdomain()
S
78 1 3
get_admin_notice_handler()
S
82 1 3
get_message_handler()
S
82 1 3
get_lifecycle_handler()
S
82 1 3
get_dependency_handler()
S
82 1 3
get_plugin_name()
S
100 1 0
get_id_dasherized()
S
79 1 3
init_dependencies()
S
79 1 3
get_file()
S
100 1 0
get_plugin_file()
S
74 1 4
__clone()
S
77 1 3
__wakeup()
S
77 1 3
load_framework_textdomain()
S
78 1 3
get_id()
S
82 1 3